package ar.com.cubika.trainees.view.servlet;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import ar.com.cubika.trainees.bean.transportes.Empresa;

public class ShowEmpresaFServlet extends TransportesServlet {

    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        Empresa empr = Empresa.getInstance();
        PrintWriter output = response.getWriter();
        
        new EmpresaFormatter(empr, output).format();
    }

}
